<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<html>
	<head>
		<title></title>
	</head>

	<body>
		<h2>
			<s:if test="user!=null">
	编辑关键字
</s:if>
			<s:else>
     新增关键字
</s:else>
		</h2>

		<s:form action="%{user==null?'save':'update'}" validate="true"
			cssClass="form-table" cssStyle="width:100%;">

			<s:hidden name="id" />
			<s:textfield label="Username" name="user.username" />
			<s:textfield label="Password" name="user.password" />
			<s:textfield label="Email" name="user.email" />
			<s:textfield label="aa" name="user.aa" />

			<tr>
				<td colspan="2" class="submit">
					<input type="submit" value="保存" name="submit" class="button" />
				</td>
			</tr>

		</s:form>

	</body>
</html>